home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperHackers.cpt / Hyper-Hackers Queue 1.0 / card_15461.txt < prev    next >
Text File  |  1989-02-26  |  1KB  |  35 lines

  1. -- card: 15461 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3797
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. From: Jakob Nielsen  Tech Univ of Denmark <DATJN@NEUVM1.Bitnet>
  12.  
  13. Date:         Sun, 14 Feb 88 00:02:50 DNT
  14.  
  15. I am *very* upset that HyperCard does not send a CloseField message
  16. when the user leaves a field by clicking directly on a button (i.e.
  17. without clicking somewhere outside the field first).
  18. Now I have again had problems because the handler which validates input
  19. does not get run before the action is executed. Of course I can do some
  20. checking in the button script, but this goes against any principle of
  21. modular program design. I have 10 fields and 4 buttons so the code can
  22. quickly get messy. Also, since HyperCard is so slow in interpreting
  23. scripts, it takes a lot of time to validate input for 10 fields - this is
  24. better spread out in small lumps.
  25.  
  26. I.e. I want future versions of HyperCard to make sure that a field
  27. *always* gets sent a closeField message when the user has changed the
  28. contents of that field. This message should be sent before any mouseUp or
  29. closeCard messages
  30.  
  31.  
  32.  
  33. -- part contents for background part 45
  34. ----- text -----
  35. Missing CloseField message when user clicks directly on a button